home *** CD-ROM | disk | FTP | other *** search
- /* Error handling for AmiPCB *** SIGNAL ON SYNTAX */
- parse arg lg,script,linenbr,erreur
- select
- when lg=1 then 'MESSAGE("Script: 'script'"+CHR(10)+"Erreur de syntaxe"+CHR(10)+"en ligne 'linenbr'"+CHR(10)+"'errortext(erreur)'")'
- when lg=2 then 'MESSAGE("Skript: 'script'"+CHR(10)+"Syntax-Fehler"+CHR(10)+"in Zeile 'linenbr'"+CHR(10)+"'errortext(erreur)'")'
- otherwise 'MESSAGE("Script: 'script'"+CHR(10)+"Syntax error"+CHR(10)+"in line 'linenbr'"+CHR(10)+"'errortext(erreur)'")'
- end
- return 0
-